package per.jdz.annotation;

import java.lang.annotation.Annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.stereotype.Component;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface Aop {
    // 基于路径aop，匹配最小单位为包
    String jointPath() default "";

    // 基于注解aop
    Class<? extends Annotation> joinAnnotationClass() default Void.class;
}
